<%@ page contentType="text/html;charset=GBK" %>
<%@ page import="java.util.*" %>
<%@ page import="com.ionglobal.db.*" %>
<%@ page import="com.ionglobal.lib.*" %>
<%@ page import="com.ionglobal.misc.*" %>
<%@ page import="com.ionglobal.project.*" %>

<%@ include file="../init_include.jsp" %>
<%@ include file="../checkPrivileges.jsp" %>
<%
	int catid=Request.getInt("catid");

	int id = Request.getInt("id",0);
	DataRequestApp newDataRequestApp = new DataRequestApp();
	DataRequest newDataRequest = new DataRequest();
	if(id != 0)
		newDataRequest = newDataRequestApp.getDataRequest(dbi,id);
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<%=Language.getHTMLLanguageStr()%>">
<link rel="stylesheet" href="<%=Language.getCSSFile(session)%>" type="text/css">
<SCRIPT language=JavaScript1.2 src="../script/editor.js"></SCRIPT>
<title>ggs_DataRequest</title>
</head>
<body>
<%=Language.getNameByCode("sys.CurrentPos","Current Position")%>:<%=Language.getNameByCode("cms.dj.title","Add or Edit")%>ggs_DataRequest<br> 
<hr>   
 <table width="100%" border="0" cellspacing="1" cellpadding="2" class="input_title">
   <tr>
     <td>&nbsp;<%=Language.getNameByCode("cms.dj.title","Add or Edit")%>ggs_DataRequest</td>
   </tr>
 </table>
   <script language="javascript">
   <!--
   	function checkForm() {
   		var sForm=document.formIon;
   		sForm.Submit.disabled = true;
   	}
   	-->
   </script> 	
	 <form method="post" name="formIon" action="DataRequest_addmod.jsp" onSubmit="return checkForm();">
   <table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="#666666">
		    <tr class="bgcolor_title_tr">
      <td  class="input_title">iId</td>
      <td>    <input name="iId" type="text" value="<%=newDataRequest.getId()%>" size="10" maxlength="10">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sCode</td>
      <td>    <input name="sCode" type="text" value="<%=newDataRequest.getCode()%>" size="20" maxlength="20">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sAppDept</td>
      <td>    <input name="sAppDept" type="text" value="<%=newDataRequest.getAppDept()%>" size="20" maxlength="20">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sAppUser</td>
      <td>    <input name="sAppUser" type="text" value="<%=newDataRequest.getAppUser()%>" size="10" maxlength="10">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sAppLeader</td>
      <td>    <input name="sAppLeader" type="text" value="<%=newDataRequest.getAppLeader()%>" size="20" maxlength="20">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sAppLeaderDate</td>
      <td>    <input name="sAppLeaderDate" type="text" value="<%=newDataRequest.getAppLeaderDate()%>" size="10" maxlength="10">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sTel</td>
      <td>    <input name="sTel" type="text" value="<%=newDataRequest.getTel()%>" size="20" maxlength="20">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">iAppCat</td>
      <td>    <input name="iAppCat" type="text" value="<%=newDataRequest.getAppCat()%>" size="5" maxlength="5">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sDataCat</td>
      <td>    <input name="sDataCat" type="text" value="<%=newDataRequest.getDataCat()%>" size="20" maxlength="50">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sAppReason</td>
      <td>    <input name="sAppReason" type="text" value="<%=newDataRequest.getAppReason()%>" size="20" maxlength="200">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sCrUser</td>
      <td>    <input name="sCrUser" type="text" value="<%=newDataRequest.getCrUser()%>" size="20" maxlength="20">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">dCrDate</td>
      <td>    <input name="dCrDate" type="text" value="<%=newDataRequest.getCrDate()%>" size="20" maxlength="23">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">iStatus</td>
      <td>    <input name="iStatus" type="text" value="<%=newDataRequest.getStatus()%>" size="10" maxlength="10">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sTechUser</td>
      <td>    <input name="sTechUser" type="text" value="<%=newDataRequest.getTechUser()%>" size="10" maxlength="10">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sIssueUser</td>
      <td>    <input name="sIssueUser" type="text" value="<%=newDataRequest.getIssueUser()%>" size="10" maxlength="10">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">dTechSubmit</td>
      <td>    <input name="dTechSubmit" type="text" value="<%=newDataRequest.getTechSubmit()%>" size="20" maxlength="23">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">dIssueDate</td>
      <td>    <input name="dIssueDate" type="text" value="<%=newDataRequest.getIssueDate()%>" size="20" maxlength="23">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sReceiveUser</td>
      <td>    <input name="sReceiveUser" type="text" value="<%=newDataRequest.getReceiveUser()%>" size="10" maxlength="10">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">dReceiveDate</td>
      <td>    <input name="dReceiveDate" type="text" value="<%=newDataRequest.getReceiveDate()%>" size="20" maxlength="23">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sAssignUser</td>
      <td>    <input name="sAssignUser" type="text" value="<%=newDataRequest.getAssignUser()%>" size="10" maxlength="10">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">dAssignDate</td>
      <td>    <input name="dAssignDate" type="text" value="<%=newDataRequest.getAssignDate()%>" size="20" maxlength="23">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sTechConfirm</td>
      <td>    <input name="sTechConfirm" type="text" value="<%=newDataRequest.getTechConfirm()%>" size="10" maxlength="10">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">dTechConfDate</td>
      <td>    <input name="dTechConfDate" type="text" value="<%=newDataRequest.getTechConfDate()%>" size="20" maxlength="23">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sSpecConfirm</td>
      <td>    <input name="sSpecConfirm" type="text" value="<%=newDataRequest.getSpecConfirm()%>" size="10" maxlength="10">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">dSpecConfDate</td>
      <td>    <input name="dSpecConfDate" type="text" value="<%=newDataRequest.getSpecConfDate()%>" size="20" maxlength="23">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sSpecApprove</td>
      <td>    <input name="sSpecApprove" type="text" value="<%=newDataRequest.getSpecApprove()%>" size="20" maxlength="20">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">dSpecApproveDate</td>
      <td>    <input name="dSpecApproveDate" type="text" value="<%=newDataRequest.getSpecApproveDate()%>" size="20" maxlength="23">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">sApproveUser</td>
      <td>    <input name="sApproveUser" type="text" value="<%=newDataRequest.getApproveUser()%>" size="10" maxlength="10">
      </td>
    </tr>
    <tr class="bgcolor_title_tr">
      <td  class="input_title">dApproveDate</td>
      <td>    <input name="dApproveDate" type="text" value="<%=newDataRequest.getApproveDate()%>" size="20" maxlength="23">
      </td>
    </tr>

 </table>
 <input type="Submit" name="Submit" style="width=80" value="<%=Language.getNameByCode("sys.Submit","Submit")%>">
 <input type="Reset" name="Reset" style="width=80" value="<%=Language.getNameByCode("sys.Reset","Reset")%>">
 <input type="button" name="close" style="width=80" value="<%=Language.getNameByCode("sys.Close","Close")%> " onClick="self.close();">
 <input type="hidden" name="id" value="<%=id%>">
 <input type="hidden" name="catid" value="<%=catid%>">
</form>
</body>                
</html>
<%@ include file="../init_free.jsp" %>
